import * as types from './mutations_types';

module.exports = {
    //设置问卷信息
    set_serveys_data: ({
        commit
    }, obj) => {
        commit(types.SET_SERVEYS_DATA, obj);
    },
    //设置页码
    set_page_index: ({
        commit
    }, obj) => {
        commit(types.SET_PAGE_INDEX, obj);
    },
    //设置查询问卷条件
    set_survey_select_options: ({
        commit
    }, obj) => {
        commit(types.SET_SURVEY_SELECT_OPTIONS, obj);
    },
    //清空查询问卷条件
    clean_survey_select_options: ({
        commit
    }) => {
        commit(types.CLEAN_SURVEY_SELECT_OPTIONS);
    },
};